package com.example.mapper.login;

import com.example.bean.login.TUserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface LoginMapper {
    TUserInfo loginUser(TUserInfo tuser);

    @Update("update t_user_info set user_password=#{userPassword} where noid=#{noid}")
    Integer editPassword(TUserInfo user);
}